import {observable, action} from 'mobx';

export default class DemoLoginStore {
    @observable loading = false;

    @action
    getLoginInfo() {
        this.loading = true;
        setTimeout(() => {
            this.loading = false;
        }, 1000);
    }
}